﻿//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Workflow
//  File name:	PauseInstance.cs
//  Developer:	Solomatov Igor
//  Created:	16.04.2012
// 
//  -------------------- iSharePoint -------------------- //

using System;

namespace Smart.Workflow
{
	/// <summary>
	/// Pause instance
	/// </summary>
	[Serializable]
	public class PauseInstance : ActivityInstance
	{
		public Pause Definition;

		/// <summary>
		/// Initializes a new instance of the <see cref="T:Smart.Workflow.PauseInstance"/> class.
		/// </summary>
		public PauseInstance(ProcessInstance parent, string name, int index, Pause definition)
			: base(parent, name, index)
		{
			Definition = definition;
		}
	}
}